﻿using System;

// Token: 0x020003FA RID: 1018
public class SimpleSingleton<T> where T : class, new()
{
	// Token: 0x06001963 RID: 6499 RVA: 0x000A423C File Offset: 0x000A243C
	private SimpleSingleton()
	{
	}

	// Token: 0x17000270 RID: 624
	// (get) Token: 0x06001964 RID: 6500 RVA: 0x000A4244 File Offset: 0x000A2444
	public static T Instance
	{
		get
		{
			if (SimpleSingleton<T>.instance == null)
			{
				SimpleSingleton<T>.instance = Activator.CreateInstance<T>();
			}
			return SimpleSingleton<T>.instance;
		}
	}

	// Token: 0x04001CB6 RID: 7350
	private static T instance;
}
